package com.ruoyi.websql.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.websql.mapper.SqlDriverConfigMapper;
import com.ruoyi.websql.domain.SqlDriverConfig;
import com.ruoyi.websql.service.ISqlDriverConfigService;

/**
 * ***Service业务层处理
 * 
 * @author xudengyu
 * @date 2025-03-18
 */
@Service
public class SqlDriverConfigServiceImpl implements ISqlDriverConfigService 
{
    @Autowired
    private SqlDriverConfigMapper SqlDriverConfigMapper;

    /**
     * 查询***
     * 
     * @param dbCheckUrl ***主键
     * @return ***
     */
    @Override
    public SqlDriverConfig selectSqlDriverConfigByDbCheckUrl(String dbCheckUrl)
    {
        return SqlDriverConfigMapper.selectSqlDriverConfigByDbCheckUrl(dbCheckUrl);
    }

    /**
     * 查询***列表
     * 
     * @param SqlDriverConfig ***
     * @return ***
     */
    @Override
    public List<SqlDriverConfig> selectSqlDriverConfigList(SqlDriverConfig SqlDriverConfig)
    {
        return SqlDriverConfigMapper.selectSqlDriverConfigList(SqlDriverConfig);
    }

    /**
     * 新增***
     * 
     * @param SqlDriverConfig ***
     * @return 结果
     */
    @Override
    public int insertSqlDriverConfig(SqlDriverConfig SqlDriverConfig)
    {
        return SqlDriverConfigMapper.insertSqlDriverConfig(SqlDriverConfig);
    }

    /**
     * 修改***
     * 
     * @param SqlDriverConfig ***
     * @return 结果
     */
    @Override
    public int updateSqlDriverConfig(SqlDriverConfig SqlDriverConfig)
    {
        return SqlDriverConfigMapper.updateSqlDriverConfig(SqlDriverConfig);
    }

    /**
     * 批量删除***
     * 
     * @param dbCheckUrls 需要删除的***主键
     * @return 结果
     */
    @Override
    public int deleteSqlDriverConfigByDbCheckUrls(String[] dbCheckUrls)
    {
        return SqlDriverConfigMapper.deleteSqlDriverConfigByDbCheckUrls(dbCheckUrls);
    }

    /**
     * 删除***信息
     * 
     * @param dbCheckUrl ***主键
     * @return 结果
     */
    @Override
    public int deleteSqlDriverConfigByDbCheckUrl(String dbCheckUrl)
    {
        return SqlDriverConfigMapper.deleteSqlDriverConfigByDbCheckUrl(dbCheckUrl);
    }
}
